package com.song.tools.core.exception;

import java.io.Serial;

/**
 * 业务异常
 *
 * @author song tools
 * @since 2024-06-06
 */
public class BusinessException extends BaseUncheckedException {

    @Serial
    private static final long serialVersionUID = -5428764015318240483L;

    public BusinessException(String code, Throwable cause) {
        super(code, cause);
    }

    public BusinessException(String code, String message) {
        super(code, message);
    }

    public BusinessException(ExceptionCode exceptionCode) {
        super(exceptionCode);
    }
}
